package model;

import java.sql.Timestamp;

public class TContract implements java.io.Serializable {

	private Integer id;
	private String contractId;
	private String contracttype;
	private String contractname;
	private Integer clientid;
	private String clienttype;
	private Double applymoney;
	private Double balance;
	private Timestamp startdate;
	private Timestamp enddate;
	private Double applybaserate;
	private Double slidingscale;
	private Double performrates;
	private String loanpurpose;
	private String loangrant;
	private String modeofrepayment;
	private Timestamp contractdate;
	private String contractaddress;
	private Integer clerkid;
	private Timestamp createtime;
	private Integer contractstate;
	private Integer ischild;
	private Integer applyid;
	private Integer isaboutn;
	private Integer modeD;
	private Integer modeZ;
	private Integer modeB;
	private Integer modeX;

	// Constructors

	/** default constructor */
	public TContract() {
	}

	/** minimal constructor */
	public TContract(String contractId, String contracttype, Integer clientid,
			String clienttype, Double applymoney, String modeofrepayment,
			Integer contractstate) {
		this.contractId = contractId;
		this.contracttype = contracttype;
		this.clientid = clientid;
		this.clienttype = clienttype;
		this.applymoney = applymoney;
		this.modeofrepayment = modeofrepayment;
		this.contractstate = contractstate;
	}

	/** full constructor */
	public TContract(String contractId, String contracttype,
			String contractname, Integer clientid, String clienttype,
			Double applymoney,Double balance, Timestamp startdate, Timestamp enddate,
			Double applybaserate, Double slidingscale, Double performrates,
			String loanpurpose, String loangrant, String modeofrepayment,
			Timestamp contractdate, String contractaddress, Integer clerkid,
			Timestamp createtime, Integer contractstate, Integer ischild,
			Integer applyid, Integer isaboutn, Integer modeD, Integer modeZ,
			Integer modeB, Integer modeX) {
		this.contractId = contractId;
		this.contracttype = contracttype;
		this.contractname = contractname;
		this.clientid = clientid;
		this.clienttype = clienttype;
		this.applymoney = applymoney;
		this.startdate = startdate;
		this.enddate = enddate;
		this.applybaserate = applybaserate;
		this.slidingscale = slidingscale;
		this.performrates = performrates;
		this.loanpurpose = loanpurpose;
		this.loangrant = loangrant;
		this.modeofrepayment = modeofrepayment;
		this.contractdate = contractdate;
		this.contractaddress = contractaddress;
		this.clerkid = clerkid;
		this.createtime = createtime;
		this.contractstate = contractstate;
		this.ischild = ischild;
		this.applyid = applyid;
		this.isaboutn = isaboutn;
		this.modeD = modeD;
		this.modeZ = modeZ;
		this.modeB = modeB;
		this.modeX = modeX;
		this.balance=balance;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getContractId() {
		return this.contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public String getContracttype() {
		return this.contracttype;
	}

	public void setContracttype(String contracttype) {
		this.contracttype = contracttype;
	}

	public String getContractname() {
		return this.contractname;
	}

	public void setContractname(String contractname) {
		this.contractname = contractname;
	}

	public Integer getClientid() {
		return this.clientid;
	}

	public void setClientid(Integer clientid) {
		this.clientid = clientid;
	}

	public String getClienttype() {
		return this.clienttype;
	}

	public void setClienttype(String clienttype) {
		this.clienttype = clienttype;
	}

	public Double getApplymoney() {
		return this.applymoney;
	}

	public void setApplymoney(Double applymoney) {
		this.applymoney = applymoney;
	}

	public Timestamp getStartdate() {
		return this.startdate;
	}

	public void setStartdate(Timestamp startdate) {
		this.startdate = startdate;
	}

	public Timestamp getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Timestamp enddate) {
		this.enddate = enddate;
	}

	public Double getApplybaserate() {
		return this.applybaserate;
	}

	public void setApplybaserate(Double applybaserate) {
		this.applybaserate = applybaserate;
	}

	public Double getSlidingscale() {
		return this.slidingscale;
	}

	public void setSlidingscale(Double slidingscale) {
		this.slidingscale = slidingscale;
	}

	public Double getPerformrates() {
		return this.performrates;
	}

	public void setPerformrates(Double performrates) {
		this.performrates = performrates;
	}

	public String getLoanpurpose() {
		return this.loanpurpose;
	}

	public void setLoanpurpose(String loanpurpose) {
		this.loanpurpose = loanpurpose;
	}

	public String getLoangrant() {
		return this.loangrant;
	}

	public void setLoangrant(String loangrant) {
		this.loangrant = loangrant;
	}

	public String getModeofrepayment() {
		return this.modeofrepayment;
	}

	public void setModeofrepayment(String modeofrepayment) {
		this.modeofrepayment = modeofrepayment;
	}

	public Timestamp getContractdate() {
		return this.contractdate;
	}

	public void setContractdate(Timestamp contractdate) {
		this.contractdate = contractdate;
	}

	public String getContractaddress() {
		return this.contractaddress;
	}

	public void setContractaddress(String contractaddress) {
		this.contractaddress = contractaddress;
	}

	public Integer getClerkid() {
		return this.clerkid;
	}

	public void setClerkid(Integer clerkid) {
		this.clerkid = clerkid;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public Integer getContractstate() {
		return this.contractstate;
	}

	public void setContractstate(Integer contractstate) {
		this.contractstate = contractstate;
	}

	public Integer getIschild() {
		return this.ischild;
	}

	public void setIschild(Integer ischild) {
		this.ischild = ischild;
	}

	public Integer getApplyid() {
		return this.applyid;
	}

	public void setApplyid(Integer applyid) {
		this.applyid = applyid;
	}

	public Integer getIsaboutn() {
		return this.isaboutn;
	}

	public void setIsaboutn(Integer isaboutn) {
		this.isaboutn = isaboutn;
	}

	public Integer getModeD() {
		return this.modeD;
	}

	public void setModeD(Integer modeD) {
		this.modeD = modeD;
	}

	public Integer getModeZ() {
		return this.modeZ;
	}

	public void setModeZ(Integer modeZ) {
		this.modeZ = modeZ;
	}

	public Integer getModeB() {
		return this.modeB;
	}

	public void setModeB(Integer modeB) {
		this.modeB = modeB;
	}

	public Integer getModeX() {
		return this.modeX;
	}

	public void setModeX(Integer modeX) {
		this.modeX = modeX;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

}